import { Allotment } from "allotment";
import "allotment/dist/style.css";
import React from "react";

interface IProps {
  children: React.ReactNode;
}

function SplitPane(props: IProps) {
  const { children } = props;
  return (
    <React.Fragment>
      <Allotment>{children}</Allotment>
    </React.Fragment>
  );
}

export default SplitPane;
